@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="questionInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="category" name="分类" underline="true" readonly="readonly" hidden="categoryid"
                            clickFun="QuestionInfoDlg.showCategorySelectTree(); return false;"
                            style="background-color: #ffffff !important;"/>
                    <#input id="degree" name="难易度" underline="true"/>
                    <#textarea id="info" name="题目信息"/>
                    <#input id="remarks" name="备注" underline="true"/>
                </div>
                <div class="col-sm-6">
                    <#input id="answer1" name="选项1" underline="true"/>
                    <#input id="answer2" name="选择2" underline="true"/>
                    <#input id="answer3" name="选项3" underline="true"/>
                    <#input id="answer4" name="选项4" underline="true"/>
                    <#select id="rightAnswer" name="正确答案" underline="true">
                        <option value="0">1</option>
                        <option value="1">2</option>
                        <option value="2">3</option>
                        <option value="3">4</option>
                    </#select>
                </div>
            </div>
            <div id="menuContent" class="menuContent"
                 style="display: none; position: absolute; z-index: 200;">
                <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="QuestionInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="QuestionInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/flagGlory/question/question_info.js"></script>
@}
